<div class="nav-tabs-custom">
	<ul class="nav nav-tabs">
		<li class="active"><a href="#fa-icons">列表</a></li>
		<li class=""><a href="{:Url('add')}">添加管理组</a></li>
	</ul>
	
	<div class="tab-content">
		<form class="js-ajax-form" action="{:Url('listorders')}" method="post">
			<div class="table-actions">
				<button class="btn btn-primary btn-ss btn-flat js-ajax-submit" type="submit">排序</button>
			</div>
			<table class="table table-hover table-bordered" id="menus-table">
				<thead>
					<tr>
						<th width="70">排序</th>
						<th width="50">ID</th>
						<th>角色名称</th>
						<th>角色描述</th>
						<th width="80">状态</th>
						<th width="100">操作</th>
					</tr>
				</thead>
				<tbody>
					{volist name="list" id="vo"}
					<tr>
						<td>
							<input name='sort[{$vo.id}]' type='number' min='0' value='{$vo.sort}' class='form-control input-sm input-ss display_de width50' />
						</td>
						<td>{$vo.id}</td>
						<td>{$vo.name}</td>
						<td>{$vo.remark}</td>
						<td>{$vo.status_text}</td>
						<td>
                            <a href="{:Url('authorize',array('id'=>$vo['id']))}" class="btn btn-xs btn-info btn-flat" data-toggle="tooltip" data-placement="top" title="权限设置"><i class="fa fa-lock"></i></a>
							<a href="{:Url('edit',array('id'=>$vo['id']))}" class="btn btn-xs btn-primary btn-flat" data-toggle="tooltip" data-placement="top" title="编辑权限组"><i class="fa fa-edit"></i></a>
							<a href="{:Url('delete',array('id'=>$vo['id']))}" class="btn btn-xs btn-danger btn-flat js-ajax-del" data-toggle="tooltip" data-placement="top" title="删除权限组"><i class="fa fa-trash-o"></i></a>
						</td>
					</tr>
					{/volist}
				</tbody>
				<tfoot>
					<tr>
						<th width="70">排序</th>
						<th width="50">ID</th>
						<th>角色名称</th>
						<th>角色描述</th>
						<th width="80">状态</th>
						<th width="180">操作</th>
					</tr>
				</tfoot>
			</table>
			<div class="table-actions">
				<button class="btn btn-primary btn-ss btn-flat js-ajax-submit" type="submit">排序</button>
			</div>
		</form>
	</div>
	
</div>
